#include <iostream>
#include <stdio.h>
#include <vector>
#include <algorithm>
#include <cmath>
const double EPS=0.000001;
const double PI=3.14159;
using namespace std;
int main() {
	double d,h,x,n1,n2;
	double l,r,mid;
	double tmp;
	cin.sync_with_stdio(false);
	while (cin>>d>>h>>x>>n1>>n2) {
		if (d==0&&h==0&&x==0&&n1==0&&n2==0) break;
		l=0.0; r=PI/2;
		while (l<=r) {
			mid=(l+r)/2;
			tmp=sqrt(n1*n1-n2*n2*sin(mid)*sin(mid));
			if (d*tan(mid)*tmp+h*n2*sin(mid)-x*tmp<0) {
				l=mid+EPS;
			}
			else r=mid-EPS;
		}
		printf("%0.2llf\n", (PI/2-l)/PI*180.0);
	}
	return 0;
}
